import Vue from 'vue'
import Vuex from 'vuex'

import User from "../js/bean/user";

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    user: null
  },
  mutations: {
    setUser(state, props) {
      state.user = new User(props);
    }
  },
  actions: {
  },
  get: {
  }
})
